package main

import (
	"io"
	"net/http"
)

func main() {
	http.HandleFunc("/", firstPage)
	http.ListenAndServe(":8000", nil)
}
func firstPage(writer http.ResponseWriter, request *http.Request) {
	io.WriteString(writer, "hello web!")
}

func PrintNumber() int {
	res := 0
	for i := 0; i <= 10; i++ {
		res += i
	}
	// fmt.Println(res)
	return res
}
